package com.zabra.zl.ui.clear.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.ClearBean;

import retrofit2.Call;

public interface ClearContract {
    interface Model {
        Call<ClearBean> getData(int orderid);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(ClearBean bean);
    }

    interface Presenter {
        void getData(int orderid);
    }
}
